package com.xhdd.serv;

import com.xhdd.dto.User;

import java.io.IOException;
import java.util.List;

public interface UserService {
    String addUser(User user) throws IOException;

    List<User> getUserList(String field, String val) throws IOException;

    String delUserById(String userId) throws IOException ;

    String updtUserById(User user, String userId) throws IOException ;
}
